package com.hardydou.system.service;

import com.hardydou.system.model.SystemLoginLog;
import com.hardydou.system.model.SystemOperLog;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;

/**
 * @author ：hardy
 * @description：ISystemRoleService
 * @date ：Created in 2020-03-10
 * @Copyright ：Hardydou.com
 */
public interface ISystemLoginLogService {


    SystemLoginLog findById(Long loginId);


    List<SystemLoginLog> findAll(Map params);


    @Transactional
    int add(SystemLoginLog loginLog);


    @Transactional
    int update(SystemLoginLog loginLog);


    @Transactional
    int deleteById(Long loginId);

}
